package com.ethanzzh.ethanzzh_xdclass.model.pojo;

import java.util.Date;
import javax.persistence.*;

@Table(name = "episode")
public class Episode {
    @Id
    private Integer id;

    /**
     * 集标题
     */
    private String title;

    /**
     * 第几集
     */
    private Integer num;

    /**
     * 时长 分钟，单位
     */
    private String duration;

    /**
     * 封面图
     */
    @Column(name = "cover_img")
    private String coverImg;

    /**
     * 视频id
     */
    @Column(name = "video_id")
    private Integer videoId;

    /**
     * 集概述
     */
    private String summary;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 章节主键id
     */
    @Column(name = "chapter_id")
    private Integer chapterId;

}
